package com.sunnada.edu.system.dept.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public interface DeptService {
	/*
	 * 获取部门树
	 */
	public List deptTree(HashMap<String, String> params);

	String deptUpdate(HashMap<String, String> params);

	String deptAdd(HashMap<String, String> params);

	Map getDeptByRecId(HashMap<String, String> params);

	String deptDel(HashMap<String, String> params);
	
	/*
	 * 获取部门树1
	 */
	public List deptTree1(HashMap<String, String> params);

	public String deptNameCheck(HashMap<String, String> params);
}
